<?php
$dtds['edit']['info#name']['name'] 				= '名称';
$dtds['edit']['info#link']['name']  			= '链接';
$dtds['edit']['info#otherkeyword']['name']  	= '相关关键词';
$dtds['edit']['info#mode']['name']  			= '模式';
$dtds['edit']['info#updateperiod']['name']  	= '更新周期';
$dtds['edit']['info#con#area']['name']  		= '商品所在地';
$dtds['edit']['info#con#ids']['name']  			= '商品ID';
$dtds['edit']['info#con#keyword']['name']  		= '关键词';
$dtds['edit']['info#con#cid']['name']  			= '所属类目';
$dtds['edit']['info#con#start_price']['name']  	= '起始价格';
$dtds['edit']['info#con#end_price']['name']  	= '最高价格';
$dtds['edit']['info#con#start_commissionRate']['name']  = '起始佣金比率';
$dtds['edit']['info#con#end_commissionRate']['name']  	= '最高佣金比率';
$dtds['edit']['info#con#start_credit']['name']  		= '起始信用';
$dtds['edit']['info#con#end_credit']['name']  			= '最高信用';
$dtds['edit']['info#con#start_commissionNum']['name']  	= '30天最低累计推广量';
$dtds['edit']['info#con#end_commissionNum']['name']  	= '30天最高累计推广量';
$dtds['edit']['info#con#guarantee']['name']  			= '是否消保商家';
$dtds['edit']['info#con#overseas_item']['name']  		= '是否海外商品';
$dtds['edit']['info#con#mall_item']['name']  			= '是否商城商品';
$dtds['edit']['info#con#sort']['name']  				= '排序';
$dtds['edit']['info#con#page_size']['name']  			= '获取条数';
$dtds['edit']['orderby']['name'] 						= '显示顺序';
$dtds['edit']['position']['name'] 						= '所在频道';

$dtds['edit']['info#name']['value']['required']  		= true;
$dtds['edit']['info#link']['value']['required']  		= false;
$dtds['edit']['info#otherkeyword']['value']['required'] = false;
$dtds['edit']['info#mode']['value']['required']  		= true;
$dtds['edit']['info#mode']['value']['mask']  			= "/^[0-9]+$/i";
$dtds['edit']['info#updateperiod']['value']['required']  	= true;
$dtds['edit']['info#updateperiod']['value']['mask']  		= "/^[0-9]+$/i";
$dtds['edit']['info#con#ids']['value']['required']  		= false;
$dtds['edit']['info#con#keyword']['value']['required']  	= false;
$dtds['edit']['info#con#area']['value']['required']  			= false;
$dtds['edit']['info#con#cid']['value']['required']  		= false;
$dtds['edit']['info#con#cid']['value']['mask']  			= "/^[0-9]+$/i";
$dtds['edit']['info#con#start_price']['value']['required']  		= false;
$dtds['edit']['info#con#start_price']['value']['mask']  			= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['info#con#end_price']['value']['required']  			= false;
$dtds['edit']['info#con#end_price']['value']['mask']  				= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['info#con#start_commissionRate']['value']['required'] = false;
$dtds['edit']['info#con#start_commissionRate']['value']['mask']  	= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['info#con#end_commissionRate']['value']['required']  	= false;
$dtds['edit']['info#con#end_commissionRate']['value']['mask']  		= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['info#con#start_commissionNum']['value']['required']  = false;
$dtds['edit']['info#con#start_commissionNum']['value']['mask']  	= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['info#con#end_commissionNum']['value']['required']  	= false;
$dtds['edit']['info#con#end_commissionNum']['value']['mask']  		= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['info#con#start_credit']['value']['required']  		= true;
$dtds['edit']['info#con#end_credit']['value']['required']  			= true;
$dtds['edit']['info#con#guarantee']['value']['required']  			= false;
$dtds['edit']['info#con#overseas_item']['value']['required']  		= false;
$dtds['edit']['info#con#mall_item']['value']['required']  			= false;
$dtds['edit']['info#con#sort']['value']['required']  				= true;
$dtds['edit']['info#con#page_size']['value']['required']  			= false;
$dtds['edit']['orderby']['value']['required']  						= true;
$dtds['edit']['orderby']['value']['mask']  							= "/^[0-9]+$/i";
$dtds['edit']['position']['value']['required'] 						= true;
$dtds['edit']['position']['value']['mask'] 						= "/^[0-9]+$/i";

$dtds['edit']['info#name']['message']['required'] 		= "%s必填项";
$dtds['edit']['info#link']['message']['required']  		= "%s必填项";
$dtds['edit']['info#otherkeyword']['message']['required'] = "%s必填项";
$dtds['edit']['info#mode']['message']['required']  		= "%s必填项";
$dtds['edit']['info#mode']['message']['mask']  			= "%s只能是数字";
$dtds['edit']['info#updateperiod']['message']['required']  	= "%s必填项";
$dtds['edit']['info#updateperiod']['message']['mask']  		= "%s只能是数字";
$dtds['edit']['info#con#area']['message']['required'] 		= "%s必填项";
$dtds['edit']['info#con#ids']['message']['required'] 		= "%s必填项";
$dtds['edit']['info#con#keyword']['message']['required'] 	= "%s必填项";
$dtds['edit']['info#con#cid']['message']['required']  		= "%s必填项";
$dtds['edit']['info#con#cid']['message']['mask']  			= "%s只能是数字";
$dtds['edit']['info#con#start_price']['message']['required'] 		= "%s必填项";
$dtds['edit']['info#con#start_price']['message']['mask']  			= "%s只能是数字";
$dtds['edit']['info#con#end_price']['message']['required']  		= "%s必填项";
$dtds['edit']['info#con#end_price']['message']['mask']  			= "%s只能是数字";
$dtds['edit']['info#con#start_commissionRate']['message']['required']  	= "%s必填项";
$dtds['edit']['info#con#start_commissionRate']['message']['mask']  		= "%s只能是数字";
$dtds['edit']['info#con#end_commissionRate']['message']['required']  	= "%s必填项";
$dtds['edit']['info#con#end_commissionRate']['message']['mask']  		= "%s只能是数字";
$dtds['edit']['info#con#start_credit']['message']['required']  	= "%s必填项";
$dtds['edit']['info#con#end_credit']['message']['required']  	= "%s必填项";
$dtds['edit']['info#con#start_commissionNum']['message']['required']  	= "%s必填项";
$dtds['edit']['info#con#start_commissionNum']['message']['mask']  		= "%s只能是数字";
$dtds['edit']['info#con#end_commissionNum']['message']['required']  	= "%s必填项";
$dtds['edit']['info#con#end_commissionNum']['message']['mask']  		= "%s只能是数字";
$dtds['edit']['info#con#guarantee']['message']['required'] 		= "%s必填项";
$dtds['edit']['info#con#overseas_item']['message']['required'] 	= "%s必填项";
$dtds['edit']['info#con#mall_item']['message']['required'] 		= "%s必填项";
$dtds['edit']['info#con#sort']['message']['required']  			= "%s必填项";
$dtds['edit']['info#con#page_size']['message']['required']  	= "%s必填项";
$dtds['edit']['orderby']['message']['required']  			= "%s必填项";
$dtds['edit']['orderby']['message']['mask']  				= "%s只能是数字";
$dtds['edit']['position']['message']['required']  			= "%s必填项";
$dtds['edit']['position']['message']['mask']  				= "%s只能是数字";